package com.example.demo.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.example.demo.entity.SysQuestionAnswer;
import com.example.demo.entity.SysSubject;
import com.baomidou.mybatisplus.extension.service.IService;
import com.example.demo.judge.entity.LanguageVO;
import com.example.demo.judge.entity.SubmissionVO;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author ld&zjw
 * @since 2024-01-28
 */
public interface SysSubjectService extends IService<SysSubject> {

    public Page<SysSubject> findPage(Integer pageNum, Integer pageSize, Integer questionId, String questionName, String questionType);

    public SysSubject getById(Long id);

    public SubmissionVO submit(SubmissionVO submissionVO) throws Exception;

    public List<LanguageVO> getLanguages();

}
